package com.runtu.domain.trade.model.aggregate;

import com.runtu.domain.trade.model.entity.PayActivityEntity;
import com.runtu.domain.trade.model.entity.PayDiscountEntity;
import com.runtu.domain.trade.model.entity.UserEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName GroupBuyOrderAggregate
 * @Description 拼团订单聚合对象；聚合可以理解用各个四肢、身体、头等组装出来一个人
 * @date 2025/8/6 10:01
 * @Version 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GroupBuyOrderAggregate {

    /** 用户实体对象 */
    private UserEntity userEntity;
    /** 支付活动实体对象 */
    private PayActivityEntity payActivityEntity;
    /** 支付优惠实体对象 */
    private PayDiscountEntity payDiscountEntity;

    /** 用户参加活动的次数限定*/
    private Integer userTakeOrderCount;


}
